package com.xiaoma.drools;

/**
 * IMPL为真实实现类，通过kie.conf配置文件注册，从而将LocationSupportImpl解耦，IMPL可以由子业务去实现，规则文件通过对应代理类来访问
 */
public class LocationSupportImpl implements LocationSupport{

    @Override
    public String getCity() {
//        try {
//            Thread.sleep(5000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
        return "深圳市";
    }
}
